php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#235530 - 02/07/03 12:40 PM [6.2] YASM 1.0
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Yet Another Search Mod 1.0<br /><br />credits: chillin, DaLanTech and extremebikini<br /><br />This will give you 3 new options while searching:<br />1. Display All Posts (standard and default)<br />2. Display Last Posts (like .classic I guess)<br />3. Display Main Posts (like something somewhere)<br /><br /><br />I had placed all of the changes into this post but it stretched way out and people (like myself) hate that so now the file's attached. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br /><br />Enjoy <img src="/forum/images/graemlins/smile.gif" alt="" /><br />


Attachments
67951-yasm.6.2.txt (232 downloads)

_________________________
~Dave
ChattersOnline.com

Top
#235531 - 02/07/03 01:40 PM Re: [6.2] YASM 1.0 [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Installed <img src="/forum/images/graemlins/cool.gif" alt="" /><br /><br />And now, a word from my users:<br /><br /> <img src="/forum/images/graemlins/bow.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#235532 - 02/07/03 01:51 PM Re: [6.2] YASM 1.0 [Re: jacksonm99]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
LoL their welcome. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />For my next trick I'm pulling two sites out of one database. Stay tuned. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#235533 - 02/07/03 02:00 PM Re: [6.2] YASM 1.0 [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
You've just one over hundreds of die hard Classic users with this one my friend: One of the number one complaints I get from Classic users centers around the lack of a Latest Threads display. <br /><br />You rock! <img src="/forum/images/graemlins/peace.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#235534 - 02/07/03 02:56 PM Re: [6.2] YASM 1.0 [Re: jacksonm99]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
My users have <img src="/forum/images/graemlins/bow.gif" alt="" /> JustDave for well over a year. <br /><br />They love everything he's ever made for my site. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235535 - 02/16/03 06:22 AM Re: [6.2] YASM 1.0 [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This mod is in use here at threadsdev if you want to see it in action.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235536 - 02/16/03 02:44 PM Re: [6.2] YASM 1.0 [Re: Daine]
Lisa_P Offline
Enthusiast

Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
Is there a mod that combines or is similar to this one, but also includes the ability to search by username AND subject (at the same time) like this one http://www.threadsdev.com/threads/php/showflat.php?Cat=&Board=finished&Number=64283? (Nobody needs to make one if there isn't, I'm just wondering. <img src="/forum/images/graemlins/smile.gif" alt="" /> I prefer the ability to search by username and subject, but this is kinda neat too. <img src="/forum/images/graemlins/smile.gif" alt="" />)
_________________________
[:"red"]Lisa[/]

Top
#235537 - 02/16/03 05:48 PM Re: [6.2] YASM 1.0 [Re: JacquiL]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Thanks Dave - very nice mod.<br /><br />Ian
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#235538 - 02/16/03 06:43 PM Re: [6.2] YASM 1.0 [Re: Gorlum]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Okay - am I confused by what this mod actually does, or is there an error?<br /><br />When searching does this<br /><br />a)<br />1. Display All Posts - shows every post that has the word<br />2. Display Last Posts - shows just the last post in any thread that contains the word<br />3. Display Main Posts - shows the first post in any thread that contains the word<br /><br />or<br /><br />b)<br />1. Display All Posts - shows every post that has the word<br />2. Display Last Posts - shows only the last post if that last post actually has the word in it.<br />3. Display Main Posts - shows only the first post if that first post actually has the word in it.<br /><br />I assumed it was a) but it seems to be b) as I am getting some threads showing in the results on one option and not on another.<br /><br />Could you clarify this for me.<br /><br />Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#235539 - 02/16/03 06:53 PM Re: [6.2] YASM 1.0 [Re: Gorlum]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I'll have to do some seaches for words and see. Will let you know. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#235540 - 02/16/03 07:00 PM Re: [6.2] YASM 1.0 [Re: sjsaunders]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Search away...... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#235541 - 02/17/03 08:53 PM Re: [6.2] YASM 1.0 [Re: Gorlum]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
kewl, i got a shout out in a JustDave Mod! Definatley this is a must for .classic converts. the guy that i run my site with was crying for this one.
_________________________
i see threads people
http://www.chinooktc.com

Top
#235542 - 02/17/03 08:59 PM Re: [6.2] YASM 1.0 [Re: Gorlum]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
[]canvey said:<br />Okay - am I confused by what this mod actually does, or is there an error?<br /><br />When searching does this<br /><br />a)<br />1. Display All Posts - shows every post that has the word<br />2. Display Last Posts - shows just the last post in any thread that contains the word<br />3. Display Main Posts - shows the first post in any thread that contains the word<br /><br />or<br /><br />b)<br />1. Display All Posts - shows every post that has the word<br />2. Display Last Posts - shows only the last post if that last post actually has the word in it.<br />3. Display Main Posts - shows only the first post if that first post actually has the word in it.<br /><br />I assumed it was a) but it seems to be b) as I am getting some threads showing in the results on one option and not on another.<br /><br />Could you clarify this for me.<br /><br />Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br /> [/]<br /><br /><br />It does both a and b depending on if your searching for words or not.
_________________________
~Dave
ChattersOnline.com

Top
#235543 - 02/17/03 09:00 PM Re: [6.2] YASM 1.0 [Re: kwalenta]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Glad you like it. Maybe Rick will see this and add it in to 6.3 <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#235544 - 03/10/03 04:30 PM Re: [6.2] YASM 1.0 [Re: sjsaunders]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
So, I'd like to set this up so that users can click a link and it automatically takes them to the 25 Last Posts within 1 day..... <br /><br />Anyone know how I write that out? The search spits it out, but I don't know what string it is........ <img src="/forum/images/graemlins/frown.gif" alt="" /><br /><br /><br />-peter

Top
#235545 - 03/10/03 04:56 PM Re: [6.2] YASM 1.0 [Re: adrienne48]
Allusivekudos Offline
Junior Member

Registered: 05/26/02
Posts: 378
Loc: Na
Nevermind.....I figured it out!<br /><br />-peter

Top
#235546 - 03/12/03 08:48 AM Re: [6.2] YASM 1.0 [Re: adrienne48]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Here's an interesting "glitch" that I've discovered in mine...<br /><br />Page one of my search results gives me just the last post just like I've asked for but any subsequent pages (when I click the "next" button) defaults back to all posts. <br /><br />Anyone? []http://www.americanconservatives.net/ubb/graemlins/shrug.gif[/]

Top
#235547 - 03/12/03 09:18 AM Re: [6.2] YASM 1.0 [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
It seems to work fine here....<br /><br />When you click "next" do you see the "displaytype" variable being passed in the URL?<br /><br />Do you have a get_input function for displaytype in dosearch.php like this:<br /><br />$displaytype = get_input("displaytype","both");<br /><br /><br />That should make it work.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#235548 - 03/12/03 09:45 AM Re: [6.2] YASM 1.0 [Re: Daine]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Nope. That's the issue. And then if I click on "previous", it disappears as well. Where and how can I fix this? <br /> <br />And yes, I do have that line in my dosearch.php file. <br /> <br />My board is in my sigline. The Latest Threads link is in the TopNews line if you would like to see for yourself.

Top
#235549 - 03/12/03 10:25 AM Re: [6.2] YASM 1.0 [Re: Razin]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
So you don't see it in the URL?<br /><br />Well then if that isn't in the URL.... then you missed the step in dosearch.php where you modify $prevlinkstart and $nextlinkstart.<br /><br />I just checked the instructions... it's there. Check those instructions again.<br /><br />Especially this part:<br /><br />## Change this:<br /><br /><br /> $prevlinkstart = "<a href=\"{$config['phpurl']}/dosearch.php?Cat=$Cat&amp;Forum=$URLForum&amp;Words=$URLWords&amp;Match=$URLMatch&amp;Searchpage=$prevpage&amp;Limit=$Limit&amp;Old=$Old\">";<br /><br /><br />## to this:<br /><br /><br /> $prevlinkstart = "<a href=\"{$config['phpurl']}/dosearch.php?Cat=$Cat&amp;[:"red"]displaytype=$displaytype&amp;[/]Forum=$URLForum&amp;Words=$URLWords&amp;Match=$URLMatch&amp;Searchpage=$prevpage&amp;Limit=$Limit&amp;Old=$Old\">";<br /><br /><br />## Change this:<br /><br /><br /> $nextlinkstart = "<a href=\"{$config['phpurl']}/dosearch.php?Cat=$Cat&amp;Forum=$URLForum&amp;Words=$URLWords&amp;Match=$URLMatch&amp;Searchpage=$nextpage&amp;Limit=$Limit&amp;Old=$Old\">";<br /><br /><br />## to this:<br /><br /><br /> $nextlinkstart = "<a href=\"{$config['phpurl']}/dosearch.php?Cat=$Cat&amp;[:"red"]displaytype=$displaytype&amp;[/]Forum=$URLForum&amp;Words=$URLWords&amp;Match=$URLMatch&amp;Searchpage=$nextpage&amp;Limit=$Limit&amp;Old=$Old\">";<br /><br /> <br /><br />It should work fine to you once you get the variables to pass in the URL. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks